On linux, the pwd command is short for PrintWorkingDirectory. The basic function is to print the current working directory, but it also has some special usage. This article summarizes the usage of pwd.
In Linux, run the pwd command to view the
1. pwd : Outputs the current working directorycommand format: pwd [OPTION] ...Example: [email protected] etc]# pwd/etc2. Echo: echo textCommand format:echo [Short-option] ... [STRING] ...Echo long-optionOptions: - N No line break after output
LS lists the file names.-l lists the long file names.-rwxr-xr--1 root root 10739 Dec 13:31 Bbscon(7) (4) (5) (6) (3) (2) (1)From left to right, it is divided into 7 columns with the following meanings:(1) The file name, if it is a symbolic link,
background:The database audit platform for Group self-research has implemented the ability to pull Oracle database performance reports in a single click in a Windows environment.Recently received the small task of the Audit platform development: The
It is meaningless to simply execute $ CD 'dirname $ 0' in the command line state. Because it returns "." of the current path ".".
This command works only when it is written in a script file. It returns the directory where the script file is stored
1 type of commandThe command types in linux are divided into two classes, one for the command that comes with the shell, the internal command, and the other for the command program on the filesystem, which is the external command .
Novice, the beginning of the code to write out what the problem is not, the result of today's browsing when the following situation, where is wrong?
ZXCVBNM Welcome to the arrival page click Back to retry "); } if (!isset ($_post[' submit ')) {exit (
Note: When performing some performance tests, we sometimes want to calculateProgramSometimes, you may write a shell script to control the performance test (for example, you want to run n times to obtain the average value). In short, one of these
Linux Shell gets time and time interval (MS level)Note: While performing some performance testing, sometimes we want to calculate the time a program runs, and sometimes it is possible to write a shell script to facilitate some performance test
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.